Carbon


OverrideIconRef

Header: Icons.h Carbon status: Supported

Replaces the bitmaps of one IconRef with those of another IconRef.

OSErr OverrideIconRef (
    IconRef oldIconRef, 
    IconRef newIconRef
);
oldIconRef

A pointer to a value of type IconRef whose bitmaps are to be replaced.

newIconRef

A pointer to a value of typeIconRef containing the replacement bitmaps.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when IconServicesLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by IconServicesLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)